package com.cn.demo4.mapper;

import com.cn.demo4.entity.HrEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface HrMapper {
    List<HrEntity> findAll(HrEntity hrEntity);

    HrEntity findById(Integer id);

    int getCount(HrEntity hrEntity);

    int add(HrEntity hrEntity);

    int update(HrEntity hrEntity);

    List<HrEntity> getHrModelListForHome();

    int del(Integer id);
}
